package main

import (
	"golang.org/x/tour/pic"
	"image"
	"image/color"
	   )

type Image struct{}
func (i Image)Bounds() image.Rectangle{
	return image.Rect(0,0,100,100)

}
func (i Image)ColorModel() color.Model{
	return color.RGBAModel
	
}
func (i Image)At(x int,y int) color.Color{
    return color.RGBA{uint8(x),uint8(y),uint8(255),uint8(255)}
}
func main() {
	m := Image{}
	pic.ShowImage(m)
}